package main

func main() {
	age := 18
	switch age {
	case 18:
		println("年轻小伙")
	case 30:
		println("人到中年不如狗")
	case 50:
		println("你儿子结婚了吗")
	}

	age = 28
	switch {
	case age <= 17:
		println("年轻小伙")
	case 30 > age && age > 17:
		println("人到中年不如狗")
	case age > 50:
		println("你儿子结婚了吗")
	}

	age = 53
	switch age {
	case 18, 20:
		println("年轻小伙")
	case 30, 32:
		println("人到中年不如狗")
	case 50, 53:
		println("你儿子结婚了吗")
	}
}
